/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 12/23/2010 
           
            */


using System;
using System.Collections.Generic;
using System.Text;


namespace BusinessObject
{
    /// <summary>
    /// This is ChiTietPhieuNhapHang object, it is object of BusinessObject table.
    /// </summary>
    public class ChiTietPhieuNhapHang
    {
        #region fields
        private Int64 maPhieuNhapHang;
        private string maMatHang;
        private int maDonViTinh;
        private int soLuongNhap;
        private double giaNhap;
        private string curencyCode;
        private Paging objPaging;

        private SortOrder objSortOrder;

        private string condition;

        private int toltalRow;
        private Boolean isAllowUpdate;

        #endregion fields

        #region constructor
        /// <summary>
        /// Define default constructor for ChiTietPhieuNhapHang Object
        /// </summary>
        public ChiTietPhieuNhapHang()
        {
            this.maPhieuNhapHang = Int64.MinValue;
            this.maMatHang = string.Empty;
            this.maDonViTinh = int.MinValue;
            this.soLuongNhap = int.MinValue;
            this.giaNhap = double.MinValue; this.objPaging = new Paging();
            this.objSortOrder = new SortOrder();
            this.condition = string.Empty;
            this.toltalRow = 0;
            this.curencyCode = string.Empty;
            this.isAllowUpdate = true;
        }
        #endregion constructor
        #region properties
        /// <summary>
        /// Define MaPhieuNhapHang Property
        /// </summary>
        public Int64 MaPhieuNhapHang
        {
            get { return this.maPhieuNhapHang; }
            set { this.maPhieuNhapHang = value; }
        }
        public string CurencyCode
        {
            get { return this.curencyCode; }
            set { this.curencyCode = value; }
        }
        public Boolean IsAllowUpdate
        {
            get { return this.isAllowUpdate; }
            set { this.isAllowUpdate = value; }
        }
        /// <summary>
        /// Define MaMatHang Property
        /// </summary>
        public string MaMatHang
        {
            get { return this.maMatHang; }
            set { this.maMatHang = value; }
        }
        /// <summary>
        /// Define MaDonViTinh Property
        /// </summary>
        public int MaDonViTinh
        {
            get { return this.maDonViTinh; }
            set { this.maDonViTinh = value; }
        }
        /// <summary>
        /// Define SoLuongNhap Property
        /// </summary>
        public int SoLuongNhap
        {
            get { return this.soLuongNhap; }
            set { this.soLuongNhap = value; }
        }
        /// <summary>
        /// Define GiaNhap Property
        /// </summary>
        public double GiaNhap
        {
            get { return this.giaNhap; }
            set { this.giaNhap = value; }
        }
        public Paging ObjectPaging
        {
            get { return this.objPaging; }
            set { this.objPaging = value; }
        }
        public SortOrder ObjectSortOrder
        {
            get { return this.objSortOrder; }
            set { this.objSortOrder = value; }
        }
        public string Condition
        {
            get { return this.condition; }
            set { this.condition = value; }
        }
        public int ToltalRow
        {
            get { return this.toltalRow; }
            set { this.toltalRow = value; }
        }

        #endregion properties
    }
}